<?php
/**
* Display the error div
*
* @author       Fabrice Douteaud <clearbudget@douteaud.com>
* @package      snippets
* @access       public
*/

/***********************************************************************

  Copyright (C) 2008  Fabrice douteaud (clearbudget@douteaud.com)

    This file is part of ClearBudget.

    ClearBudget is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    ClearBudget is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with ClearBudget.  If not, see <http://www.gnu.org/licenses/>.


************************************************************************/
if(!isset($error)) $error = 'error_UnknownError';
if(!isset($backAction)) $backAction = 'home';
if(!isset($nextAction)) $nextAction = 'home';  

?>
<div class="title"><?php echo $keys->pageTitle_Error; ?></div><br/>
<blockquote>
<?php echo $keys->error_GenericError; ?>: <?php echo $keys->$error;?>
<!--br/><a href="#" action="<?php echo $backAction; ?>"><?php echo $keys->tryAgain;?></a>-->
<br/><a href="#" action="<?php echo $nextAction; ?>"><?php echo $keys->link_solveErrorLink;?></a>
</blockquote>
